#include"Sort.h"
#define MAX 1000

class MergeSort : public Sort {
private:
	int b[MAX], c[MAX], nb, nc;
public:
	void Distribute(int N);
	void Merge();
	void MergeSubarr(int nb, int nc, int &pa, int &pb, int &pc, int k);
};
